package com.bdk.middle.goods.core.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author Reagan
 * @since 2021-03-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("e_goods_buy_record")
public class GoodsBuyRecordEntity implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(type = IdType.ASSIGN_UUID)
    private String id;

    @TableField("app_id")
    private String appId;

    @TableField("goods_id")
    private String goodsId;

    @TableField("member_id")
    private String memberId;

    @TableField("order_no")
    private String orderNo;

    @TableField("buy_date")
    private Date buyDate;


}
